Jigoshop\Service\EmailService S

Total Complexity 50
Dependencies 8
Dependents 0
Total lines 340
Lines of code 177
Logical lines of code 99
Comment lines 92
Methods 18
Properties 6

Methods 18

Method Rating Maintainability Complexity Lines of code
send()
A
46 10 37
save()
A
53 9 20
getTemplates()
S
53 7 22
filterEmail()
S
55 4 19
addTemplate()
S
59 3 15
getAttachments()
S
64 3 10
find()
S
69 2 7
findByQuery()
S
67 2 8
__construct()
S
69 1 6
getAvailableActions()
S
80 1 3
getMails()
S
81 1 3
register()
S
79 1 3
suppressNextEmail()
S
81 1 3
updateAndSavePost()
S
76 1 4
savePost()
S
73 1 5
findForPost()
S
80 1 3
suppressEmailForWholeRequest()
S
81 1 3
getEmailsCount()
S
70 1 6